<template>
  <uni-list>
    <uni-list-item
      v-for="(problem, index ) in problems"
      :key="index"
      :title="problem.content"
      :rightText="problem.type === 'multi-choice'
      || problem.type === 'yes-no-answer'
      ? '否'
      : ''"
      :note="problem.type === 'answer' ? answers[index] : ''"
    >
    {{answers[index]}}
    </uni-list-item>
  </uni-list>
</template>
<script>
export default {
  props: ["problems", "answers"],
  props: ["problems", "answers"]
};
